import Layout from '@/layout'
const ManagementSystem = [
    {
        path: '/loginHistory',
        component: Layout,
        children: [
            {
                path: '/loginHistory',
                component: () => import('@/views/loginHistory/index'),
                name: 'loginHistory',
                meta: { title: '登录历史记录', icon: 'el-icon-monitor' }
            }
        ]
    },
    {
        path: '/imgManagement',
        component: Layout,
        meta: { title: '网站配置', icon: 'el-icon-mouse' },
        children: [
            {
                path: 'notice',
                component: () => import('@/views/notice/index'),
                name: 'notice',
                meta: { title: '通知栏', icon: 'el-icon-data-analysis' }
            },
            {
                path: 'navigation',
                component: () => import('@/views/navigation/index'),
                name: 'navigation',
                meta: { title: '栏目管理', icon: 'el-icon-tickets' }
            },
            {
                path: 'governmentTransparency',
                component: () => import('@/views/governmentTransparency/index'),
                name: 'governmentTransparency',
                meta: { title: '右侧栏1', icon: 'el-icon-document' }
            },
            {
                path: 'commonSystems',
                component: () => import('@/views/commonSystems/index'),
                name: 'commonSystems',
                meta: { title: '右侧栏2', icon: 'el-icon-suitcase' }
            },
            {
                path: 'bayWindow',
                component: () => import('@/views/bayWindow/index'),
                name: 'bayWindow',
                meta: { title: '飘窗管理', icon: 'el-icon-chat-dot-square' }
            },
            {
                path: 'loadPage',
                component: () => import('@/views/loadPage/index'),
                name: 'loadPage',
                meta: { title: '加载页', icon: 'el-icon-news' }
            },
            // {
            //     path: 'chart',
            //     component: () => import('@/views/chart/index'),
            //     name: 'chart',
            //     meta: { title: '图片栏目', icon: 'el-icon-news' }
            // },
            {
                path: 'carouselChart',
                component: () => import('@/views/carouselChart/index'),
                name: 'carouselChart',
                meta: { title: '轮播图', icon: 'el-icon-files' }
            },
            {
                path: 'carouselChartType',
                component: () => import('@/views/carouselChartType/index'),
                name: 'carouselChartType',
                meta: { title: '轮播类型', icon: 'el-icon-files' }
            },
            {
                path: 'commendation',
                component: () => import('@/views/commendation/index'),
                name: 'commendation',
                meta: { title: '实时表彰', icon: 'el-icon-files' }
            },
            {
                path: 'article',
                component: () => import('@/views/article/index'),
                name: 'article',
                meta: { title: '文章管理', icon: 'el-icon-notebook-2' }
            },
            {
                path: 'specColumn',
                component: () => import('@/views/specColumn/index'),
                name: 'specColumn',
                meta: { title: '专栏管理', icon: 'el-icon-notebook-2' }
            },
            {
                path: 'portalWebsite',
                component: () => import('@/views/portalWebsite/index'),
                name: 'portalWebsite',
                meta: { title: '门户网站', icon: 'el-icon-mobile' }
            },
            {
                path: 'endPage',
                component: () => import('@/views/endPage/index'),
                name: 'endPage',
                meta: { title: '网站配置', icon: 'el-icon-postcard' }
            },
            // {
            //     path: '/publicMemorial',
            //     component: () => import('@/views/publicMemorial/index'),
            //     name: 'publicMemorial',
            //     meta: { title: '公祭日', icon: 'el-icon-medal' }
            // },
        ]
    },
    {
        path: '/systemManagement',
        component: Layout,
        meta: { title: '系统管理', icon: 'el-icon-setting' },
        children: [
            {
                path: '/staff',
                component: () => import('@/views/staff/index'),
                name: 'staff',
                meta: { title: '人员管理', icon: 'el-icon-user' }
            },
            {
                path: 'duty',
                component: () => import('@/views/duty/index'),
                name: 'duty',
                meta: { title: '值班管理', icon: 'el-icon-date' }
            },
            {
                path: 'userMessage',
                component: () => import('@/views/userMessage/index'),
                name: 'userMessage',
                meta: { title: '用户管理', icon: 'el-icon-user' }
            }
        ]
    }
]
export default ManagementSystem
  // {
  //   path: '/functionPermission',
  //   component: Layout,
  //   children: [
  //     {
  //       path: 'functionPermission',
  //       component: () => import('@/views/functionPermission/index'),
  //       name: 'functionPermission',
  //       meta: { title: '功能权限管理', icon: 'tab' }
  //     }
  //   ]
  // },
  // {
  //   path: '/role',
  //   component: Layout,
  //   children: [
  //     {
  //       path: 'role',
  //       component: () => import('@/views/role/index'),
  //       name: 'role',
  //       meta: { title: '角色管理', icon: 'tab' }
  //     }
  //   ]
  // },

